package happy.study.clique.module.study.design.single.code;

/**
 * 懒汉式单例，程序编译时直接初始化单例
 *
 * @author fsq
 * @date 2021/11/11 17:16
 **/
public class SingleOne {

    private SingleOne() {
    }

    private final static SingleOne SINGLEONE = new SingleOne();

    public static SingleOne getSingleone() {
        return SINGLEONE;
    }
}
